<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


<script>
  function f1() {
    console.log("f1");
  }
  f1();
  function f2(name,age) {
    console.log(name+":"+age);
  }
  f2("孙尚香",22);
  function f3() {
    return "我是返回值";
  }
  let info = f3();
  console.log(info);
  function f4(x,y) {
    return x*y;
  }
  let result = f4(5,6);
  console.log(result);
  let f5 = function (name,age) {
    console.log(name+":"+age);
  }
  f5("刘备",44);
  let f6 = new Function ("name","age","console.log(name+':'+age)");
  f6("吕布",666);
</script>
</body>
</html>